package me.fung.wubi.app.component

import androidx.compose.runtime.Composable
import androidx.compose.runtime.key

@Composable
inline fun <E> Collection<E>.forEachKey(block: @Composable (E) -> Unit) {
    forEach {
        key(it) {
            block(it)
        }
    }
}